<template>
  <router-view></router-view>
  {{ d.time }}
  <div class="postcss"></div>
</template>

<script lang='ts' setup>
import { ref } from 'vue';
import { getSMSVerificationCode, IGetSMSVerificationCodeResult } from '@/api/main';

const d = ref<IGetSMSVerificationCodeResult['data']>({
  time: 0,
});
// const a = 1;

getSMSVerificationCode({
  phoneNumber: 1333333333,
}, {
  successCb(data) {
    console.log(data);
    d.value = data.data;
  },
});
</script>

<style lang='less' scoped>
.postcss {
  width: 100px;
  height: 100px;
  background-color: red;
  transform: rotate(90deg);
}
</style>
